<!doctype html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <link rel="icon" type="image/svg+xml" href="/vite.svg" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>SVG 编辑器</title>
    <!-- 添加 Fabric.js CDN -->
    <script src="https://unpkg.com/fabric@6.7.0/dist/index.min.js"></script>
  </head>
  <body>
    <div id="app"></div>
    <script>
      // 确保 fabric 对象在全局范围内可用
      window.fabric = fabric;
    </script>
    <script type="module" src="/src/main.ts"></script>
  </body>
</html>
